<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="col-md-12">
	<div class="panel-search">
		<form class="form-inline" action="/stock/searchList">
			<div class="form-group">
				<label class="control-label">请选择仓库：</label> <select
					name="warehouseId" class="form-control">
					<option value='0'>全部</option>
					<c:forEach items="${warehouses}" var="warehouse" varStatus="vs">
						<option value="${warehouse.id}">${warehouse.name}</option>
					</c:forEach>
				</select>
			</div>
			<br>
			<div class="form-group">
				<label class="control-label">产品名称:</label> <input type="text"
					name="product.name" class="form-control" placeholder="产品名称" />
				<button type="button" class="btn btn-primary" onclick="search();">
					<i class="fa fa-search"></i>
					<spring:message code="btn.search"></spring:message>
				</button>
			</div>
			<br>
		</form>
	</div>
	<div class="panel-content"></div>
</div>
<script type="text/javascript"
	src="<c:url value="/static/custom/datepicker-util.js"></c:url>"></script>
<script type="text/javascript">
	$(function() {
		search();
	});
</script>